{% extends "base.html" %}

{% block subtitle %}
  {% if code == 400 %}
    Error 400 - Bad Request
  {% elif code == 401 %}
    Error 401 - Unauthorized
  {% elif code == 404 %}
    Error 404 - Page Not Found
  {% elif code == 500 %}
    Error 500 - System Error
  {% endif %}
{% endblock subtitle %}

{% block content %}
  <div class="oppia-content">
    <br>

    <div class="oppia-wide-panel">
      <div class="oppia-wide-panel-content">
        <h1>
          {% if code == 400 %}
            Error 400 - Bad Request
          {% elif code == 401 %}
            Error 401 - Unauthorized
          {% elif code == 404 %}
            Error 404 - Page Not Found
          {% elif code == 500 %}
            Error 500 - System Error
          {% endif %}
        </h1>
        <br>
        <p>
          {% if code == 400 %}
            Oops! You reached this page because you entered some input that Oppia doesn't know how to process.
          {% elif code == 401 %}
            Sorry, you are not authorized to access this page.
          {% elif code == 404 %}
            Oops! Sorry, we could not find the page you were looking for.
          {% elif code == 500 %}
            Oops! An internal error occurred.
          {% endif %}
        </p>
        <p>
          The best thing to do now is probably to return to the <a href="/">home page</a>. However, if this issue recurs, and you think it
          shouldn't, please let us know on our <a href="http://code.google.com/p/oppia/issues/list" target="_blank">issue tracker</a>. Sorry about this.
        </p>
      </div>
    </div>

  </div>
{% endblock %}
